package lib.book;

public class bookModule {
	private String bno;
	private String category;
	private String title;
	private String publish;
	private int year;
	private String author;
	private double price;
	private int total;
	private int stock;
	
	public String getBno() {
		return bno;
	}
	public void setBno(String bno) {
		this.bno = bno;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public String getPublish() {
		return publish;
	}
	public void setPublish(String publish) {
		this.publish = publish;
	}
	public String getAuthor() {
		return author;
	}
	public void setAuthor(String author) {
		this.author = author;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public int getYear() {
		return year;
	}
	public void setYear(int year) {
		this.year = year;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public int getStock() {
		return stock;
	}
	public void setStock(int stock) {
		this.stock = stock;
	}
	public bookModule(String bno, String category,String title, String publish, int year , String author, double price, int total, int stock) {
		super();
		this.bno = bno;
		this.title = title;
		this.publish = publish;
		this.category = category;
		this.year=year;
		this.author = author;
		this.price=price;
		this.total=total;
		this.stock=stock;
	}
	
	public bookModule() {
		super();
	}
	@Override
	public String toString() {
		return "bookModule [bno=" + bno + ", category=" + category + ", title=" + title + ", publish=" + publish + ",year="+year+", author=" + author
				+ ", price = "+ price + ", total = "+ total + ", stock = "+stock+"]";
	}
	
	
}
